<!DOCTYPE html>
<html   data-layout-decorate="~{fragment/layout}">
<head>
<meta charset="UTF-8">
<title>作品展示</title>
</head>
<body>
<section data-layout-fragment="content">
	<div class="container">
		<div class="row">
			<h4 class="col-sm-2">项目名称:</h4>
			<h4 class="col-sm-9" data-th-text="${model.test.name}"></h4>
		</div>
		<div class="row">
			<h4 class="col-sm-2">项目说明:</h4>
			<h4 class="col-sm-9" data-th-utext="${model.test.demo}"></h4>
		</div>
		<div class="row" data-th-if="${model.grade!=null}">
			<h4 class="col-sm-2">项目得分:</h4>
			<h4 class="col-sm-9" data-th-utext="${model.grade}"></h4>
		</div>
		<div class="row">
			<h4 class="col-sm-2">班级:</h4>
			<h4 class="col-sm-9" data-th-text="${model.student.tbClass.name}"></h4>
		</div>
		<div class="row">
			<h4 class="col-sm-2">作者:</h4>
			<h4 class="col-sm-9" data-th-text="${model.student.name}"></h4>
		</div>
		<div data-th-if="${model.userName!=null}" class="row">
			<h4 class="col-sm-2">用户名:</h4>
			<h4 class="col-sm-9" data-th-text="${model.userName}"></h4>
		</div>
		<div data-th-if="${model.pwd!=null}" class="row">
			<h4 class="col-sm-2">密码:</h4>
			<h4 class="col-sm-9" data-th-text="${model.pwd}"></h4>
		</div>
		<div th:if="${model.sourceUrl!=null&&!#strings.isEmpty(model.sourceUrl)}" class="row">
			<h4 class="col-sm-2">源码地址:</h4>
			<h4 class="col-sm-9">
				<a data-th-href="${model.sourceUrl}" target="_blank">浏览源码</a>
			</h4>
		</div>
		<div class="row">
			<h4 class="col-sm-2">访问项目:</h4>
			<h4 class="col-sm-9">
				<a data-th-href="${model.projectUrl}" target="_blank">点我访问</a>
			</h4>
		</div>
	</div>
</section>
</body>
</html>